/*
 * @Author: windys
 * @Description: 
 * @Date: 2022-03-11 14:21:22
 */
import http from '@/utils/http.js'




// 查询问答列表
export const ApiGetQuesList = (params) => {
    return http({
        method: 'get',
        url: `/qfa/web/getQfaList`,
        params
    })
}


// 查询问题详情
export const ApiGetQuesDetail = (params) => {
    return http({
        method: 'get',
        url: `/qfa/web/getQuestion`,
        params
    })
}


// 我的提问列表
export const ApiGetMyQuesList = (params) => {
    return http({
        method: 'get',
        url: `/qfa/web/getUserQfaList`,
        params
    })
}



// 支付围观
export const ApiPayQueseWatch = (data) => {
    return http({
        method: 'POST',
        url: `/qfa/web/addAround`,
        data
    })
}


// 查询专栏列表
export const ApiGetSpcoulumList = (params) => {
    return http({
        method: 'get',
        url: `/spcolumn/web/spcolumn/list`,
        params
    })
}

// 提问
export const ApiAnswerputquest = (data) => {
    return http({
        method: 'POST',
        url: `/qfa/web/addQuestion`,
        data
    })
}


//查询专栏信息
export const ApiGetspcolumnts = (params) => {
    return http({
        method: 'GET',
        url: `/spcolumn/web/spcolumn/bySpcolumnId`,
        params
    })
}

//查询专栏打赏设置金额
export const ApiGetsetamount = (params) => {
    return http({
        method: 'GET',
        url: `/qfa/web/getRewardSet`,
        params
    })
}